<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var name = 'frank';
    var age = 30;
    var say = function () {
        console.log(name);
        console.log(age);
    }


</script>
</body>
</html>